package com.jsyl.entity.core;

import java.io.Serializable;

import com.jsyl.entity.common.BaseEntity;
import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;
/**
 * 平台交易用户实体
 * @author song
 */
@Entity(table = "NF_USER")
public class Tuser extends BaseEntity implements Serializable {
	
	private static final long serialVersionUID = 3684561100016128743L;

		 @Id
		 @Column("ID")
		 private Integer id;
		 
		 /*用户名称*/
		 @Column("USER_NAME")
		 private String userName;
		 
		 /*真实姓名*/
		 @Column("REAL_NAME")
		 private String realName;
		 
		 /*登录密码 第一次系统回信密码 默认 注册手机号码+nf字母  MD5加密*/
		 @Column("PASSWORD")
		 private String password;
		 
		 /*交易密码  默认为登录密码  MD5加密*/
		 @Column("PAYPASSWORD")
		 private String payPassword;
		 
		 /*手机号*/
		 @Column("PHONE")
		 private String phone;
		 
		 /*身份证号*/
		 @Column("CARD_ID")
		 private String cardId;
		 
		 /*身份到期日期*/
		 @Column("CARD_OFF")
		 private String cardOff;
		 
		 /*身份证照片正面  保存图片URL*/
		 @Column("CARD_PIC_Z")
		 private String cardPicz;
		 
		 /*身份证照片背面 保存图片URL*/
		 @Column("CARD_PIC_B")
		 private String cardPicb;
		 
		 /*民族*/
		 @Column("NATION")
		 private String nation;
		 
		 /*性别*/
		 @Column("SEX")
		 private Integer sex;
		 
		 /*生日*/
		 @Column("BIRTHDAY")
		 private String birthday;
		 
		 /*邮箱*/
		 @Column("EMAIL")
		 private String email;
		 
		 /*省  默认-1*/
		 @Column("PROVINCE")
		 private Integer province=-1;
		 
		 /*市*/
		 @Column("CITY")
		 private Integer city=-1;
		 
		 /*区、县*/
		 @Column("AREA")
		 private Integer area=-1;
		 
		 /*行政村*/
		 @Column("VILLAGE")
		 private Integer village=-1;
		 
		 /*注册用户的地址*/
		 @Column("ADDRESS")
		 private String address;
		 
		 /*状态  0-不可用 1-可用，2-申请状态*/
		 @Column("STATUS")
		 private Integer status;
		 
		 /*类型   1--个人用户， 2--机构用户*/
		 @Column("TYPE")
		 private Integer type;
		 
		 /*修改时间*/
		 @Column("UPTIME")
		 private String upTime;
		 
		 /*添加时间*/
		 @Column("ADDTIME")
		 private String addTime;
		
		 @Override
		public Integer getId() {
			return id;
		}

		public void setId(Integer id) {
			this.id = id;
		}

		public String getUserName() {
			return userName;
		}

		public void setUserName(String userName) {
			this.userName = userName;
		}

		public String getRealName() {
			return realName;
		}

		public void setRealName(String realName) {
			this.realName = realName;
		}

		public String getPassword() {
			return password;
		}

		public void setPassword(String password) {
			this.password = password;
		}

		public String getPayPassword() {
			return payPassword;
		}

		public void setPayPassword(String payPassword) {
			this.payPassword = payPassword;
		}

		public String getPhone() {
			return phone;
		}

		public void setPhone(String phone) {
			this.phone = phone;
		}

		public String getCardId() {
			return cardId;
		}

		public void setCardId(String cardId) {
			this.cardId = cardId;
		}

		public String getCardOff() {
			return cardOff;
		}

		public void setCardOff(String cardOff) {
			this.cardOff = cardOff;
		}

		public String getCardPicz() {
			return cardPicz;
		}

		public void setCardPicz(String cardPicz) {
			this.cardPicz = cardPicz;
		}

		public String getCardPicb() {
			return cardPicb;
		}

		public void setCardPicb(String cardPicb) {
			this.cardPicb = cardPicb;
		}

		public String getNation() {
			return nation;
		}

		public void setNation(String nation) {
			this.nation = nation;
		}

		public Integer getSex() {
			return sex;
		}

		public void setSex(Integer sex) {
			this.sex = sex;
		}

		public String getBirthday() {
			return birthday;
		}

		public void setBirthday(String birthday) {
			this.birthday = birthday;
		}

		public String getEmail() {
			return email;
		}

		public void setEmail(String email) {
			this.email = email;
		}

		public Integer getProvince() {
			return province;
		}

		public void setProvince(Integer province) {
			this.province = province;
		}

		public Integer getCity() {
			return city;
		}

		public void setCity(Integer city) {
			this.city = city;
		}

		public Integer getArea() {
			return area;
		}

		public void setArea(Integer area) {
			this.area = area;
		}

		public Integer getVillage() {
			return village;
		}

		public void setVillage(Integer village) {
			this.village = village;
		}

		public String getAddress() {
			return address;
		}

		public void setAddress(String address) {
			this.address = address;
		}

		public Integer getStatus() {
			return status;
		}

		public void setStatus(Integer status) {
			this.status = status;
		}

		public Integer getType() {
			return type;
		}

		public void setType(Integer type) {
			this.type = type;
		}

		public String getUpTime() {
			return upTime;
		}

		public void setUpTime(String upTime) {
			this.upTime = upTime;
		}

		public String getAddTime() {
			return addTime;
		}

		public void setAddTime(String addTime) {
			this.addTime = addTime;
		}
	


}
